vpnPyg2Sub
Description
creation of pay-as-you-go subcontracting monthly order for vpn.
Request Method
POST
Request Path
/customer/vpn/switch/pyg2sub/create
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
period | BODY | integer | Yes | No sample value for this parameter. | period |
cost | BODY | number | Yes | No sample value for this parameter. | cost |
instanceId | BODY | string | Yes | No sample value for this parameter. | instance id |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
billingMethod | BODY | string | Yes | No sample value for this parameter. | billing method |
pricingCycle | BODY | string | Yes | No sample value for this parameter. | pricing cycle |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
result | object | `{"orderId":"2023011313020100001"}` | No description for this parameter. |
resultCode | string | 0 | No description for this parameter. |
resultMsg | string | success | No description for this parameter. |
Example
Successful Response example
{
"result":
{
"orderId":"2023011313020100001"
},
"resultCode":"0",
"resultMsg":"success"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}